package com.demo2do.boyle.common.entity;

import com.demo2do.core.utils.Alias;

/**
 * 
 * @author Wilson
 */
@Alias("auditStatus")
public enum AuditStatus {

    AUDITING("审核中", "未审核", "danger"),

    AUDITED("已审核", "使用中", "success"),
	
	AUDIT_FAIL("审核失败", "审核失败", "danger");

    private String description;
    
    private String alias;
 
    private String css;

    private AuditStatus(String descrition, String alias, String css) {
        this.description = descrition;
        this.css = css;
        this.alias = alias;
    }

    
    /**
	 * @return the alias
	 */
	public String getAlias() {
		return alias;
	}


	/**
	 * @param alias the alias to set
	 */
	public void setAlias(String alias) {
		this.alias = alias;
	}


	/**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @return the css
     */
    public String getCss() {
        return css;
    }

    public String getName() {
        return name();
    }

    @Override
    public String toString() {
        return description;
    }

}
